import React from "react";

class BordDetail extends React.Component{
    constructor(props){
        super(props);

        this.state={
            detailItem:this.props.location.query.el
        }
    }

    componentWillMount(){
        console.log(this.state.detailItem)
    }

    render(){
        return(
            <div className="detail_container">
                222
            </div>
        )
    }

}

export default BordDetail;